projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36df2f1
)
* lisp/man.el (Man-softhyphen-to-minus): Avoid string-as-multibyte.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 30 Aug 2017 19:00:56 +0000
(15:00 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 30 Aug 2017 19:00:56 +0000
(15:00 -0400)
lisp/man.el
patch
|
blob
|
history
diff --git
a/lisp/man.el
b/lisp/man.el
index c7d8c4089db80746739b1e0ec5ea5ba5231cbf31..4a14f638fc35c6359a3348bbbac370a9f239d5e9 100644
(file)
--- a/
lisp/man.el
+++ b/
lisp/man.el
@@
-1174,10
+1174,7
@@
See the variable `Man-notify-method' for the different notification behaviors."
(unless (eq t (compare-strings "latin-" 0 nil
current-language-environment 0 6 t))
(goto-char (point-min))
- (let ((str "\255"))
- (if enable-multibyte-characters
- (setq str (string-as-multibyte str)))
- (while (search-forward str nil t) (replace-match "-")))))
+ (while (search-forward "" nil t) (replace-match "-"))))
(defun Man-fontify-manpage ()
"Convert overstriking and underlining to the correct fonts.